l = [1,2,3,4]
def change(a:list,l:int,r:int):
    t = a[l]
    a[l] = a[r]
    a[r] = t
change(l,1,2)
print(l)